<extend name="Public/base"/>
<block name="content">
    <form class="layui-form layui-form-pane1" action="">
        <div class="layui-form-item">
            <label class="layui-form-label">头像</label>
            <div class="layui-input-block">
                <img src="<?php $user = session('user');echo $user[0]['pic'];?>" style="height: 130px;"
                     class="layui-layer-max-img">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">用户名</label>
            <div class="layui-input-inline">
                <input type="tel" name="email" lay-verify="email" autocomplete="off" class="layui-input"
                       value="<?php $user = session('user');echo $user[0]['username'];?>" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">手机</label>
            <div class="layui-input-inline">
                <input type="tel" name="phone" lay-verify="phone" autocomplete="off" class="layui-input"
                       value="<?php $user = session('user');echo $user[0]['phone'];?>" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">邮箱</label>
            <div class="layui-input-inline">
                <input type="tel" name="email" lay-verify="email" autocomplete="off" class="layui-input"
                       value="<?php $user = session('user');echo $user[0]['email'];?>" disabled>
            </div>
        </div>
    </form>
</block>
